package com.rogo.net
{
	import flash.utils.ByteArray;
	
	/**
	 * 数据包
	 * 
	 * @author Rogo
	 */	
	public class Package implements IPackage
	{
		public function Package()
		{
		}
		
		//--------------------------------------------------------------------------
		//
		//  Variables
		//
		//--------------------------------------------------------------------------
		
		private var _head:ByteArray;

		public function get head():ByteArray
		{
			return _head;
		}

		public function set head(value:ByteArray):void
		{
			_head = value;
		}

		private var _headLength:int;

		public function get headLength():int
		{
			return _headLength;
		}

		public function set headLength(value:int):void
		{
			_headLength = value;
		}

		private var _body:ByteArray;

		public function get body():ByteArray
		{
			return _body;
		}

		public function set body(value:ByteArray):void
		{
			_body = value;
		}

		private var _bodyLength:int;

		public function get bodyLength():int
		{
			return _bodyLength;
		}

		public function set bodyLength(value:int):void
		{
			_bodyLength = value;
		}
		
	}
}